package com.aliyun.heiyu.powermaster.server;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class SetPowerEntity {
    private static Logger log = LoggerFactory.getLogger(SetPowerEntity.class);

    private String serverIp;
    private boolean capAction;
    private int powerLimit;
    private int freqLimit;

    public SetPowerEntity(){
    }
    public SetPowerEntity(String serverIp, boolean capAction, int powerLimit, int freqLimit){
        this.serverIp = serverIp;
        this.capAction = capAction;
        this.powerLimit = powerLimit;
        this.freqLimit = freqLimit;
    }

    public String getServerIp() {
        return serverIp;
    }

    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }

    public int getPowerLimit() {
        return powerLimit;
    }

    public void setPowerLimit(int powerLimit) {
        this.powerLimit = powerLimit;
    }

    public boolean isCapAction() {
        return capAction;
    }

    public void setCapAction(boolean capAction) {
        this.capAction = capAction;
    }

    public int getFreqLimit() {
        return freqLimit;
    }

    public void setFreqLimit(int freqLimit) {
        this.freqLimit = freqLimit;
    }
}
